package com.ship.dispatch.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ship.dispatch.bean.SpDispatchSchemeDetail;
import com.ship.dispatch.vo.ConResourceSellerVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 方案详情 Mapper 接口
 * </p>
 *
 * @author AbyssRabbit@163.com
 * @since 2023-10-17
 */
public interface SpDispatchSchemeDetailMapper extends BaseMapper<SpDispatchSchemeDetail> {

    Map<String, Date> getLastUnTimeAndNextTime(@Param(value = "imo") String imo,@Param(value = "expectedLoadingDate") Date expectedLoadingDate);

    List<ConResourceSellerVO> selectAllSellersByScheme(Long id);
}